<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>amd demo</title>
    <script data-main="js/main" src="js/libs/require.js"></script>
    <style>
      div {
        margin: 25% 40%;
        background-color: fuchsia;
        width: 220px;
        height: 50px;
        line-height: 50px;
        padding-left: 50px;
      }
    </style>
  </head>
  <body>
    <div>
      Amd模块及requirejs实现
    </div>
  </body>
</html>
